component persistent="true" accessors="true" {
    property name="id" generator="native" ormtype="integer" ; 
    property name="description" ormtype="string" length="100";
    property name="text" ormtype="string" length="50";
    property name="url" ormtype="string" length="200";
    property name="urltarget" ormtype="string" length="10";
    
    property name="issystem" ormtype="integer" length="1" default="0" ;
    property name="isshow" ormtype="integer" length="1" default="1" ;
    property name="isindex" ormtype="integer" length="1" default="0" ;
    property name="islist" ormtype="integer" length="1" default="0" ;
    property name="level" ormtype="integer" length="1" default="0" ;
    property name="seq" ormtype="integer" length="11" default="0" ;
    property name="created" ormtype="timestamp";
    property name="edited" ormtype="timestamp";
    property name="formobjectlist" ormtype="text" length="0";
    
    property name="children" fieldType="one-to-many" cfc="category" cascade="delete-orphan" fkcolumn="categoryid" ;
    property name="parent" fieldtype="many-to-one" cfc="category" fkcolumn="categoryid";
	property name="categorytype" fieldType="many-to-one" cfc="categorytype" fkcolumn="categorytypeid";
	
}